<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><?php include template("content","header"); ?>
<link href="<?php echo CSS_PATH;?>english/css/style.css" type="text/css" rel="stylesheet" />
<!--main-->
    
   <div class="main">
        
        
        
        
        
        
        
        <!--list--->
        <div class="lists news_main">
            <div class="list_left">
                <div class="searchlist">
                    <input type="text"  class="textlist"/>
                    <input type="submit" class="submitlist" value="" />
                </div>
                <div class="procate">
                	<h6>Product Categories</h6>
                </div>
                
<script src="<?php echo JS_PATH;?>english/js/center.js" type="text/javascript">
</script>
                <div class="pro_list">
		<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=cbb80374144affd8ee7457ee29e2343b&action=category&catid=13&num=25&siteid=%24siteid&order=listorder+ASC\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'category')) {$data = $content_tag->category(array('catid'=>'13','siteid'=>$siteid,'order'=>'listorder ASC','limit'=>'25',));}?>
		<?php $n=1;if(is_array($data)) foreach($data AS $q) { ?>
                	<div class="mainProNav">
                        <span><a class=""  href="<?php echo $q['url'];?>"><?php echo $q['catname'];?></a></span><!--listson-->
			<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=05818930ec31bd91fea9e13f3a90c8ef&action=lists&catid=%24q%5Bcatid%5D&num=12&siteid=%24siteid&order=listorder+ASC\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$data = $content_tag->lists(array('catid'=>$q[catid],'siteid'=>$siteid,'order'=>'listorder ASC','limit'=>'12',));}?>
			<?php if(!empty($data)) { ?>
                        <div class="nav001">
                            <ul class="navM1">
			<?php $n=1;if(is_array($data)) foreach($data AS $p) { ?>
                            	<li><a class="" href="<?php echo $p['url'];?>"><?php echo $p['title'];?></a></li>
			<?php $n++;}unset($n); ?>
                            </ul>
                         </div>
			<?php } ?>
			<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
                     </div>
		<?php $n++;}unset($n); ?>
		<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
                	
                     
                </div>
                
               
                
            </div>
            <div class="list_right">
            	<div class="pro_show_title">
                	<h6>Product Center</h6>
                    <h5><a href="<?php echo siteurl($siteid);?>">Home Page</a> >  <?php echo catpos($catid);?>  </h5>
                </div>
               	<div class="pro_show">
				<div class="clear"></div>
			<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=54c3574641567c9e1ed8c814b01e4e65&action=lists&catid=%24catid&num=5&siteid=%24siteid&order=listorder+ASC&page=%24page\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$pagesize = 5;$page = intval($page) ? intval($page) : 1;if($page<=0){$page=1;}$offset = ($page - 1) * $pagesize;$content_total = $content_tag->count(array('catid'=>$catid,'siteid'=>$siteid,'order'=>'listorder ASC','limit'=>$offset.",".$pagesize,'action'=>'lists',));$pages = pages($content_total, $page, $pagesize, $urlrule);$data = $content_tag->lists(array('catid'=>$catid,'siteid'=>$siteid,'order'=>'listorder ASC','limit'=>$offset.",".$pagesize,'action'=>'lists',));}?>
			<?php $n=1;if(is_array($data)) foreach($data AS $p) { ?>
                    <div class="product product1">
                        <a href="<?php echo $p['url'];?>"><img src="<?php echo $p['thumb'];?>" />
                        <h6><?php echo $p['title'];?></h6>
                        <p><?php echo $p['description'];?></p></a>
                    </div>
			<?php $n++;}unset($n); ?>
                    
                </div>
                
                <div class="clear"></div>
                <div style="height:20px;"></div>
                <div class="page">
                    <ul>
					
                        <li><a href="#"><?php echo $pages;?></a></li>
                    </ul>
                </div>
            
			<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>    
                
                <div class="online">
                	<div class="online_title">
                    	<h6>Online Message</h6>
                    </div>
                    <div class="online_message">
                    <form action="index.php?m=bbs&c=index&a=init" method="post" name="regist" onSubmit="return AllCheck();">
                    	<div class="message_tlak">
                        	<div class="message_text">
                            	<table border="0" cellpadding="0" cellspacing="5">
                                	<tr>
                                    	<th><label>Name: </label></th>
                                    	<td><input class="name" name="Name" type="text" /></td>
                                    </tr>
                                	<tr>
                                    	<th><label><font class="red">*</font> Email: </label></th>
                                    	<td><input class="email" name="Email" type="text" /></td>
                                    </tr>
                                	<tr>
                                    	<th><label>Website:</label></th>
                                    	<td><input class="website" name="website" type="text" /></td>
                                    </tr>
                                	<tr>
                                    	<th><label><font class="red">*</font> Phone: </label></th>
                                    	<td><input class="phone" name="Tel" type="text" /></td>
                                    </tr>
                                	<tr>
                                    	<th><label>Skype: </label></th>
                                    	<td><input class="skype" name="skype" type="text" /></td>
                                    </tr>
                                	<tr>
                                    	<th><label>Facebook: </label></th>
                                    	<td><input class="facebook" name="facebook" type="text" /></td>
                                    </tr>
                                	<tr>
                                    	<th><label>Twitter: </label></th>
                                    	<td><input class="twitter" name="twitter" type="text" /></td>
                                    </tr>
                                </table>
                            </div>
                            <div class="talk">
                            	<h6>Talk to me：</h6>
                                <div class="talkone">
                                	<img class="onlineimg" src="<?php echo IMG_PATH;?>english/images/online.jpg" />
                                    <div class="talkright">
                                    	<p>Ms. Jessie Huang</p>
                                        <a target="_blank" href="http://www.taobao.com/webww/ww.php?ver=3&touid=客服1&siteid=cntaobao&status=2&charset=utf-8"><img border="0" src="<?php echo IMG_PATH;?>english/images/wangwang.jpg" alt="有事点这里" />  I'm Away</a>
                                    </div>
                                </div>
                                <div class="talkone">
                                	<img class="onlineimg" src="<?php echo IMG_PATH;?>english/images/online.jpg" />
                                    <div class="talkright">
                                    	<p>Mr.Jessie Huang</p>
                                        <a href="skype:帐号?call" on-click="return skypeCheck();"><img src="<?php echo IMG_PATH;?>english/images/buxiaode.jpg" style="border: none;" alt="Call me!" />  I'm Away</a>
                                    </div>
                                </div>
                                <div class="talkone">
                                	<img class="onlineimg" src="<?php echo IMG_PATH;?>english/images/online.jpg" />
                                    <div class="talkright">
                                    	<p>Ms. Colin Fang</p>
                                        <a target="_blank" href="http://www.taobao.com/webww/ww.php?ver=3&touid=客服1&siteid=cntaobao&status=2&charset=utf-8"><img border="0" src="<?php echo IMG_PATH;?>english/images/wangwang.jpg" alt="有事点这里" />  I'm Away</a>
                                    </div>
                                </div>
                                <div class="talkone">
                                	<img class="onlineimg" src="<?php echo IMG_PATH;?>english/images/online.jpg" />
                                    <div class="talkright">
                                    	<p>Mr.Colin Fang</p>
                                        <a href="skype:帐号?call" on-click="return skypeCheck();"><img src="<?php echo IMG_PATH;?>english/images/buxiaode.jpg" style="border: none;" alt="Call me!" />  I'm Away</a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="clear"></div>
                        <div class="message">
                        	<table border="0" cellpadding="0" cellspacing="5">
                            	<tr>
                                	<th><label><font class="red">*</font> Message: </label></th>
                                	<td><textarea name="Textarea"  onfocus="if(this.value=='Your message must be between 20-8000 characters'){this.value='';}">Your message must be between 20-8000 characters</textarea></td>
                                </tr>
                                <tr>
                                	<th></th>
                                    <td><input class="submit" type="submit" value="Send" /></td>
                                </tr>
                            </table>
                        </div>
                    </form>
                    </div>
                </div>
                
                
            </div><!--right lists end-->
            <div class="clear"></div>
        </div><!-- lists end-->
        
        
        
        
        
    </div><!-- main end-->
<!--  验证表单-->  
<script src="<?php echo JS_PATH;?>english/js/registinput.js" type="text/javascript">
</script> 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
 
<?php include template("content","footer"); ?>